/* SlipPaneDemo.java 
* Created on Dec 2, 2012 
*@Author: Mr.Viet 
*@Phone: 01683430426 
*@Email: phamvanvietcdhd@gmail.com
*/ 
package com.session5; 

import javax.swing.JSplitPane;

public class SlipPaneDemo extends MyFrame {
	private JSplitPane sPane;
	public static void main(String[] args) {
		SlipPaneDemo d = new SlipPaneDemo();
		d.createForm();
		d.showForm();
	}

	@Override
	public void createForm() {
		this.sPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT,true,new Tab1(),new Tab2());
		this.sPane.setOneTouchExpandable(true);
		this.sPane.setDividerLocation(200);
		this.getContentPane().add(this.sPane);
	}

}
